.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "GDALSRSINFO" "1" "Apr 02, 2024" "" "GDAL"
.SH NAME
gdalsrsinfo \- Lists info about a given SRS in number of formats (WKT, PROJ.4, etc.)
.SH SYNOPSIS
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
Usage: gdalsrsinfo [\-\-help] [\-\-help\-general]
                   [\-\-single\-line] [\-V] [\-e][\-o <out_type>] <srs_def>
.ft P
.fi
.UNINDENT
.UNINDENT
.SH DESCRIPTION
.sp
The \fBgdalsrsinfo\fP utility reports information about a given SRS from one of the following:
.INDENT 0.0
.IP \(bu 2
The filename of a dataset supported by GDAL/OGR which contains SRS information
.IP \(bu 2
Any of the usual GDAL/OGR forms (complete WKT, PROJ.4, EPSG:n or a file containing the SRS)
.UNINDENT
.INDENT 0.0
.TP
.B \-\-help
Show this help message and exit
.UNINDENT
.INDENT 0.0
.TP
.B \-\-help\-general
Gives a brief usage message for the generic GDAL commandline options and exit.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-single\-line
Print WKT on single line
.UNINDENT
.INDENT 0.0
.TP
.B \-V
Validate SRS
.UNINDENT
.INDENT 0.0
.TP
.B \-e
Search for EPSG number(s) corresponding to SRS
.UNINDENT
.INDENT 0.0
.TP
.B \-o <out_type>
Output types:
.INDENT 7.0
.IP \(bu 2
\fBdefault\fP: proj4 and wkt (default option)
.IP \(bu 2
\fBall\fP: all options available
.IP \(bu 2
\fBwkt_all\fP: all wkt options available
.IP \(bu 2
\fBPROJJSON\fP: PROJJSON string (GDAL >= 3.1 and PROJ >= 6.2)
.IP \(bu 2
\fBproj4\fP: PROJ.4 string
.IP \(bu 2
\fBwkt1\fP: OGC WKT format (full)
.IP \(bu 2
\fBwkt_simple\fP: OGC WKT 1 (simplified)
.IP \(bu 2
\fBwkt_noct\fP: OGC WKT 1 (without OGC CT params)
.IP \(bu 2
\fBwkt_esri\fP: ESRI WKT format
.IP \(bu 2
\fBwkt\fP: Latest WKT version supported, currently wkt2_2019
.IP \(bu 2
\fBwkt2\fP: Latest WKT2 version supported, currently wkt2_2019
.IP \(bu 2
\fBwkt2_2015\fP: OGC WKT2:2015
.IP \(bu 2
\fBwkt2_2019\fP: OGC WKT2:2019 (for GDAL < 3.6, use \fBwkt2_2018\fP)
.IP \(bu 2
\fBmapinfo\fP: Mapinfo style CoordSys format
.IP \(bu 2
\fBxml\fP: XML format (GML based)
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.B <srs_def>
may be the filename of a dataset supported by GDAL/OGR from which to extract SRS information
OR any of the usual GDAL/OGR forms (complete WKT, PROJ.4, EPSG:n or a file containing the SRS)
.UNINDENT
.SH EXAMPLE
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
$ gdalsrsinfo EPSG:4326

PROJ.4 : +proj=longlat +datum=WGS84 +no_defs

OGC WKT :
GEOGCS[\(dqWGS 84\(dq,
    DATUM[\(dqWGS_1984\(dq,
        SPHEROID[\(dqWGS 84\(dq,6378137,298.257223563,
            AUTHORITY[\(dqEPSG\(dq,\(dq7030\(dq]],
        AUTHORITY[\(dqEPSG\(dq,\(dq6326\(dq]],
    PRIMEM[\(dqGreenwich\(dq,0,
        AUTHORITY[\(dqEPSG\(dq,\(dq8901\(dq]],
    UNIT[\(dqdegree\(dq,0.0174532925199433,
        AUTHORITY[\(dqEPSG\(dq,\(dq9122\(dq]],
    AUTHORITY[\(dqEPSG\(dq,\(dq4326\(dq]]
.ft P
.fi
.UNINDENT
.UNINDENT
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
$ gdalsrsinfo \-o proj4 osr/data/lcc_esri.prj
\(aq+proj=lcc +lat_1=34.33333333333334 +lat_2=36.16666666666666 +lat_0=33.75 +lon_0=\-79 +x_0=609601.22 +y_0=0 +datum=NAD83 +units=m +no_defs \(aq
.ft P
.fi
.UNINDENT
.UNINDENT
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
$ gdalsrsinfo \-o proj4 landsat.tif
PROJ.4 : \(aq+proj=utm +zone=19 +south +datum=WGS84 +units=m +no_defs \(aq
.ft P
.fi
.UNINDENT
.UNINDENT
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
$ gdalsrsinfo  \-o wkt \(dqEPSG:32722\(dq

PROJCRS[\(dqWGS 84 / UTM zone 22S\(dq,
    BASEGEOGCRS[\(dqWGS 84\(dq,
        DATUM[\(dqWorld Geodetic System 1984\(dq,
            ELLIPSOID[\(dqWGS 84\(dq,6378137,298.257223563,
                LENGTHUNIT[\(dqmetre\(dq,1]]],
        PRIMEM[\(dqGreenwich\(dq,0,
            ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433]]],
    CONVERSION[\(dqUTM zone 22S\(dq,
        METHOD[\(dqTransverse Mercator\(dq,
            ID[\(dqEPSG\(dq,9807]],
        PARAMETER[\(dqLatitude of natural origin\(dq,0,
            ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433],
            ID[\(dqEPSG\(dq,8801]],
        PARAMETER[\(dqLongitude of natural origin\(dq,\-51,
            ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433],
            ID[\(dqEPSG\(dq,8802]],
        PARAMETER[\(dqScale factor at natural origin\(dq,0.9996,
            SCALEUNIT[\(dqunity\(dq,1],
            ID[\(dqEPSG\(dq,8805]],
        PARAMETER[\(dqFalse easting\(dq,500000,
            LENGTHUNIT[\(dqmetre\(dq,1],
            ID[\(dqEPSG\(dq,8806]],
        PARAMETER[\(dqFalse northing\(dq,10000000,
            LENGTHUNIT[\(dqmetre\(dq,1],
            ID[\(dqEPSG\(dq,8807]]],
    CS[Cartesian,2],
        AXIS[\(dq(E)\(dq,east,
            ORDER[1],
            LENGTHUNIT[\(dqmetre\(dq,1]],
        AXIS[\(dq(N)\(dq,north,
            ORDER[2],
            LENGTHUNIT[\(dqmetre\(dq,1]],
    USAGE[
        SCOPE[\(dqunknown\(dq],
        AREA[\(dqWorld \- S hemisphere \- 54°W to 48°W \- by country\(dq],
        BBOX[\-80,\-54,0,\-48]],
    ID[\(dqEPSG\(dq,32722]]
.ft P
.fi
.UNINDENT
.UNINDENT
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
$ gdalsrsinfo \-o wkt_all \(dqEPSG:4322\(dq
OGC WKT 1:
GEOGCS[\(dqWGS 72\(dq,
    DATUM[\(dqWorld_Geodetic_System_1972\(dq,
        SPHEROID[\(dqWGS 72\(dq,6378135,298.26,
            AUTHORITY[\(dqEPSG\(dq,\(dq7043\(dq]],
        TOWGS84[0,0,4.5,0,0,0.554,0.2263],
        AUTHORITY[\(dqEPSG\(dq,\(dq6322\(dq]],
    PRIMEM[\(dqGreenwich\(dq,0,
        AUTHORITY[\(dqEPSG\(dq,\(dq8901\(dq]],
    UNIT[\(dqdegree\(dq,0.0174532925199433,
        AUTHORITY[\(dqEPSG\(dq,\(dq9122\(dq]],
    AXIS[\(dqLatitude\(dq,NORTH],
    AXIS[\(dqLongitude\(dq,EAST],
    AUTHORITY[\(dqEPSG\(dq,\(dq4322\(dq]]

OGC WKT2:2015 :
BOUNDCRS[
    SOURCECRS[
        GEODCRS[\(dqWGS 72\(dq,
            DATUM[\(dqWorld Geodetic System 1972\(dq,
                ELLIPSOID[\(dqWGS 72\(dq,6378135,298.26,
                    LENGTHUNIT[\(dqmetre\(dq,1]]],
            PRIMEM[\(dqGreenwich\(dq,0,
                ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433]],
            CS[ellipsoidal,2],
                AXIS[\(dqgeodetic latitude (Lat)\(dq,north,
                    ORDER[1],
                    ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433]],
                AXIS[\(dqgeodetic longitude (Lon)\(dq,east,
                    ORDER[2],
                    ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433]],
            AREA[\(dqWorld\(dq],
            BBOX[\-90,\-180,90,180],
            ID[\(dqEPSG\(dq,4322]]],
    TARGETCRS[
        GEODCRS[\(dqWGS 84\(dq,
            DATUM[\(dqWorld Geodetic System 1984\(dq,
                ELLIPSOID[\(dqWGS 84\(dq,6378137,298.257223563,
                    LENGTHUNIT[\(dqmetre\(dq,1]]],
            PRIMEM[\(dqGreenwich\(dq,0,
                ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433]],
            CS[ellipsoidal,2],
                AXIS[\(dqlatitude\(dq,north,
                    ORDER[1],
                    ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433]],
                AXIS[\(dqlongitude\(dq,east,
                    ORDER[2],
                    ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433]],
            ID[\(dqEPSG\(dq,4326]]],
    ABRIDGEDTRANSFORMATION[\(dqWGS 72 to WGS 84 (1)\(dq,
        METHOD[\(dqPosition Vector transformation (geog2D domain)\(dq,
            ID[\(dqEPSG\(dq,9606]],
        PARAMETER[\(dqX\-axis translation\(dq,0,
            ID[\(dqEPSG\(dq,8605]],
        PARAMETER[\(dqY\-axis translation\(dq,0,
            ID[\(dqEPSG\(dq,8606]],
        PARAMETER[\(dqZ\-axis translation\(dq,4.5,
            ID[\(dqEPSG\(dq,8607]],
        PARAMETER[\(dqX\-axis rotation\(dq,0,
            ID[\(dqEPSG\(dq,8608]],
        PARAMETER[\(dqY\-axis rotation\(dq,0,
            ID[\(dqEPSG\(dq,8609]],
        PARAMETER[\(dqZ\-axis rotation\(dq,0.554,
            ID[\(dqEPSG\(dq,8610]],
        PARAMETER[\(dqScale difference\(dq,1.0000002263,
            ID[\(dqEPSG\(dq,8611]],
        AREA[\(dqWorld\(dq],
        BBOX[\-90,\-180,90,180],
        ID[\(dqEPSG\(dq,1237]]]

OGC WKT2:2019 :
BOUNDCRS[
    SOURCECRS[
        GEOGCRS[\(dqWGS 72\(dq,
            DATUM[\(dqWorld Geodetic System 1972\(dq,
                ELLIPSOID[\(dqWGS 72\(dq,6378135,298.26,
                    LENGTHUNIT[\(dqmetre\(dq,1]]],
            PRIMEM[\(dqGreenwich\(dq,0,
                ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433]],
            CS[ellipsoidal,2],
                AXIS[\(dqgeodetic latitude (Lat)\(dq,north,
                    ORDER[1],
                    ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433]],
                AXIS[\(dqgeodetic longitude (Lon)\(dq,east,
                    ORDER[2],
                    ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433]],
            USAGE[
                SCOPE[\(dqunknown\(dq],
                AREA[\(dqWorld\(dq],
                BBOX[\-90,\-180,90,180]],
            ID[\(dqEPSG\(dq,4322]]],
    TARGETCRS[
        GEOGCRS[\(dqWGS 84\(dq,
            DATUM[\(dqWorld Geodetic System 1984\(dq,
                ELLIPSOID[\(dqWGS 84\(dq,6378137,298.257223563,
                    LENGTHUNIT[\(dqmetre\(dq,1]]],
            PRIMEM[\(dqGreenwich\(dq,0,
                ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433]],
            CS[ellipsoidal,2],
                AXIS[\(dqlatitude\(dq,north,
                    ORDER[1],
                    ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433]],
                AXIS[\(dqlongitude\(dq,east,
                    ORDER[2],
                    ANGLEUNIT[\(dqdegree\(dq,0.0174532925199433]],
            ID[\(dqEPSG\(dq,4326]]],
    ABRIDGEDTRANSFORMATION[\(dqWGS 72 to WGS 84 (1)\(dq,
        METHOD[\(dqPosition Vector transformation (geog2D domain)\(dq,
            ID[\(dqEPSG\(dq,9606]],
        PARAMETER[\(dqX\-axis translation\(dq,0,
            ID[\(dqEPSG\(dq,8605]],
        PARAMETER[\(dqY\-axis translation\(dq,0,
            ID[\(dqEPSG\(dq,8606]],
        PARAMETER[\(dqZ\-axis translation\(dq,4.5,
            ID[\(dqEPSG\(dq,8607]],
        PARAMETER[\(dqX\-axis rotation\(dq,0,
            ID[\(dqEPSG\(dq,8608]],
        PARAMETER[\(dqY\-axis rotation\(dq,0,
            ID[\(dqEPSG\(dq,8609]],
        PARAMETER[\(dqZ\-axis rotation\(dq,0.554,
            ID[\(dqEPSG\(dq,8610]],
        PARAMETER[\(dqScale difference\(dq,1.0000002263,
            ID[\(dqEPSG\(dq,8611]],
        USAGE[
            SCOPE[\(dqunknown\(dq],
            AREA[\(dqWorld\(dq],
            BBOX[\-90,\-180,90,180]],
        ID[\(dqEPSG\(dq,1237]]]

OGC WKT 1 (simple) :
GEOGCS[\(dqWGS 72\(dq,
    DATUM[\(dqWorld_Geodetic_System_1972\(dq,
        SPHEROID[\(dqWGS 72\(dq,6378135,298.26],
        TOWGS84[0,0,4.5,0,0,0.554,0.2263]],
    PRIMEM[\(dqGreenwich\(dq,0],
    UNIT[\(dqdegree\(dq,0.0174532925199433]]

OGC WKT 1 (no CT) :
GEOGCS[\(dqWGS 72\(dq,
    DATUM[\(dqWorld_Geodetic_System_1972\(dq,
        SPHEROID[\(dqWGS 72\(dq,6378135,298.26]],
    PRIMEM[\(dqGreenwich\(dq,0],
    UNIT[\(dqdegree\(dq,0.0174532925199433]]

ESRI WKT :
GEOGCS[\(dqGCS_WGS_1972\(dq,
    DATUM[\(dqD_WGS_1972\(dq,
        SPHEROID[\(dqWGS_1972\(dq,6378135.0,298.26]],
    PRIMEM[\(dqGreenwich\(dq,0.0],
    UNIT[\(dqDegree\(dq,0.0174532925199433]]
.ft P
.fi
.UNINDENT
.UNINDENT
.SH AUTHOR
Frank Warmerdam <warmerdam@pobox.com>, Etienne Tourigny <etourigny.dev-at-gmail-dot-com>
.SH COPYRIGHT
1998-2024
.\" Generated by docutils manpage writer.
.
